add break to loop for finding devcie