added depth getter to catergories