implemented a,d,m,g with switched, almost there.

Dickbut