added default to read
initial sketch of query