reverting compare logic to match readme