adding device plugin