[NTG-context] is there a better way to convert this