MyDevice class added