changed the helper methods for the list