modified initialization step