Device diagram corrected