Refactoring list method