added close surface method