changing the way options are generated