removed reset of echo statements