Title: Code of flag behavior