more consistent approach to functions.