add version comparison util