Added so many functions i forgot.