removed 'w' in function