refactored weatherchecker