better ways to set different options