rounded out get and query implementations