use w instead of i