added w values