Added log method errorouseleely removed earlier