added params to init