Fixed code flow