fixed mag bug and changed some stuff and did stuff with send