reward database seems to work