refactored the checkForLikes for each card