removed legacy "depth" variable