working on runoptions