Just leaving this here for safe keeping. I did try to optimize it, so its not like THAT bad right now.