added custom post types class