lw and sw working