allow passing options to initialise from contstructor