removed deugging statements