Changed the naming of a function