added window to messages