Bunch of stuff I have no idea what I did