Change function name to clarify where it is used