add device works,
was a problem in creating the frame.