refine functions (#37)