context server - rough version