made separate windows for each figure