added device handler