checks for same sentence