last problems work, not pretty but i did it!!