remove log statements and revert back tripple equals