removed unnessisary logging