add query method without a specific key
no commit after initialization