removing unnecessary log statements