renaming function to reflect name change