Adding controller methods