added export CGContext