adding controller methods and specs