add method showInvalidDataMessage