changed mode to GET