Added cleaning fields, ended counting, fixed printing