working on extracting surface