completely redid compare based off suggestions on how to not be so dumb