make wait work