changed opt arguments to be uppercase