renaming function to be more relevant