adjust the parametors of init function