edit for no window system.