addr&type defines device