working on max flights