Rather than import this in to both maze & turtle and doing the `?:` bit twice, why not just do it inside the template?