add code to nyaBsOption