implemented .list method