Added ability to do different depths; hard-coded a depth of 6