add version comparator