added a double for the weather class