add function: depth2dwell