eq class 2 - although badly tested. Test again when fipath code is complete