jlo: move device specific parts to device