modify for old rsg ww sample