Still not formatted correctly (should have used gist for this, durr)