moved integer alphabet conversion to bsearch fcn