add warning statement