I MADE IT WORK ZOMG
Don't know if this actually is what the assignment asked... but it's
something.