dealt with warnings