modify the GET method