Changed minmode to 0