See cycle 1
here.
it's nowhere near as complicated though