added some changes to the comments and tried to fix the post error