Set surface

This appears to resolve issue #12