warnings correctly removed