for some func