added printing depth and move applied