Skeleton to detect errors and summarize