in func