added support for rewards