added terminal content provider with some upgrades