functions

needs JSON still cause i dont know when the values are and cant test