added changes to the realization