basic devise working