removed old printf calls