add some code to read GET values