System B working code without window adjustment

System B working code without window adjustment