Moving flags variable