renames functions with naming convention