add trait for controllers