if len(w)==0 you have no warning raised