added basic and delete queries