cleaned up toggle rhythm