Revert "Revert "First part almost done. Problem with depth call and parameters format""

This reverts commit a8a06518818836ca910a33091a534284d30012a0.