Changed field to use flags instead of bools