Renamed a method and added comments