Incorrect function call in clueless implementation of read_cycles