add w for waiting