Modified getDepts