stripped out uneeded params in post_messages method