skeleton for maze