trips controller