trap flow