deviceand connectionhandler added