current weather moved to helper function
moved a lot of stuff to helper function
int to float