added type column to image