First attempt at weighted comparison