implemented read request in read.xql