Added equality checks and values for cards