add summary checking