added support for credits callback