updated mag to 0.2.0