removed unused printlines