second draft of  AAE637 assignment 6