renamed indexAction to listAction