convert to list method