Write queries is not so fun

Signed-off-by: emanuele <emanuele45@gmail.com>