add smart-window