base construction with timewindows
base constrcution with time windows and a little bug