changed window signals variables to signals arrays