simplify function calls