implemented context and partly implemented exception system