was calling equals on different classes, not sure how this was even working.