added in attributes to controller methods