source aliases after functions

allow the former to reference the latter