add queue and window frame