Added precipitation Logic