revert and with only get method done