Def ahead for mutual recursion