rhythm implemented and working