make sure parameters are upper case strings before calling native code. add specs.