w minimization might be working