got endtarget, needs mroe work to add device