addded trusted device support