Intelligent design: managing passenger flow