pass options into init