adding autoselect option