added
added return array to indexAction