changed controller methods