add warning notes to two classes