trying to get ext_depth to work