allow latedef for funciton decalarations