add postInit method