removed deviceQuery