returns both types of list
returns both types of list