add code to nyaBsSelect