add a couple of functions

completed the getTimeToFly function and then add another TODO functions