allow just two values