work on mame part so far (nw)