added to_a in controller index action