add type classes post