experimenting with types + queries