added post for end pres and cleaned up posting to one method