trying to integrate main context