stopping condition, readme updated