added getOscGen helper