Refactored code, not yet working properly
Still not working
not working 1
not working 2
really?
Works now.

Damn typo.
Finished refactoring