added window + first sample clearing screen