made CreateContext private