amended pages controller file