adding context fxn