added moisture sensor