add natives to retrieve the sent query and its execution time
syntactical improvements