created a bunch of function calls instead of repeating code.
This change is for the boeing proposal simulation.
commiting changes so that Christina can grab test code pieces