add warning and final view