initial cp from exRTB with some mods
merge