Mg device

![image](https://cloud.githubusercontent.com/assets/2095625/3587554/30b1e49e-0c3a-11e4-942d-3d33810bdf55.png)