removed printing debug lines