solved database issue and got winner helper to work