changed gets to post