bind flag and formation