adding default values for depth and warnings if asking for a depth that cannot be changed