split up CreateSurface to hal and hel interface