version with warnings