queries without echo. and retaining device id