Added Depth Functionality