1.7 checks system + <= 1.6 compatibility. not too happy with the implementation