dealt with data structure incompatibilities