added grettings controller