'cycle counter' function seems to be working