parseOptions moved