maze working