added posting functionality