new utility for parsing function arguments
smooth transition functions