Move function definition to aul header