implemented basic post type declaration