add new method for scan devices