edited the naming of functions in the views