added support for extra processing