changed GETs to POSTs