allow passing of options