reintegration of Main