modified in order to handle the context in yarpscope