adding type column back