 The largest female in the harem can switch sex over a few days and replace the dominant male.This is found amongst coral reef fishes such as groupers, parrotfishes and wrasses.It is less common for a male to switch to a female (protandry).