simplify function arguments for consistency