comparison for vector variables