refactoring. adding ability to post.