working flight.java and handle.java