Added an extra print statement to depth counter