The structures are only relevant for the local function. To clean the source i'll make a header file for this.