creating contexts is synchronous