added type column to post class