extending a controller