change W to Weight