nicer documentation of function arguments