local structs working when no functions inside