more comparison operators for scan