added support for comments and posts