built in compare functionality.