small change in name of function for clarity