Investigating logic flow