removed unused depth value