version generated with mdl26 and tested on 2.7 and 2.5