Testing a better method for option parsing