Adding devices code...