Q ba maze