added ability to set default for select element