Added option to do a depth of 1 or 6