add depth feature.
mod example code.