create window array