first commit of windowed version