extend controller