Dang that code was messed up