Added basic comparing logic