why did I redo this in windows/C