added a list method