added ability to set select button