cleaned a bit and removed unwanted printouts