made the at least one flip optional