Removed old chain code
Changed log statements
Extra checks