testing for opts