added delayed worfklow
tried to obfuscate flipping flags more