Added some comments to get_cycles()