changed GET read logic