re-implement global options