added types of posts to model