remove log statement & indent code