Meh.. this isn't what I want :)
cycle detection wip