Eliminating a warning