added options to wrapper