Changing some stuff around, adding helpful functions and stuff.