initialization method is updated