actually added the list functionality