update arguments of init method,
 & example