major reworking
move struct to wdsize.c