added w value