regenerated controller, now pages controller