Still trying to understand code

Hardly did anything yet. Mostly just trying to understand the code and
figure out what to do from there.