Attacking works, somehow.
Cleaning up the code.