sync the desktop

the code from the lecture