started the list function