created a class called temperature