posting functionality added