District judge inspected the prison