added some compatibility stuff