A framework for dynamic context exploitation