modified the Post.java