first lines of code written. not tested.