better formatting for functions and params