wrote a lot. allmost done
Code finished w/o testing