Add comparison functionality (fully functional)