queries: one init, one get, one write