function of creeds