added stuff to make the posts work better