Finally Got risk working