add device star function