context processor refinement; multiple modes
context processor refinement; multiple modes cleanup&refactor