Some really bad and rushed commentry on the code.