add context pointer