Adding flag for moving