fixed function naming inconsistency