refactoring
Added log statements