implement cycleDams