Added instruction to check summary if a certain condition is given