finished code clean up
changed plot positions