add obsolete warning