add context to execute callback functions