unify function call