basic type queries working