added genic to var.win
changed windowTable to window_table