old stuff from an automatic watering project