Year ended December 31,
Year ended December 31,
Year ended December 31,
$
%
(in thousands)
2019
2018
variance
variance
 Restaurant/Retail
   Core
$78,238
$102,877
$(24,639)
(24)%
Brink *
41,689
25,189
16,500
66%
SureCheck
3,380
6,003
(2,623)
(44)%
 Total Restaurant Retail
$123,307
$134,069
$(10,762)
(8)%
 Government
   Intelligence, surveillance, and reconnaissance
$29,541
$30,888
$(1,347)
(4)%
Mission Systems
33,513
35,082
(1,569)
(4)%
Product Sales
871
1,207
(336)
(28)%
 Total Government
$63,925
$67,177
$(3,252)
(5)%
results of operations for the years ended december 31 2019 and december 31 2018 .
we reported revenues of $ 187 .
2 million for the year ended december 31 2019 down 7 .
0 % from $ 201 .
2 million for the year ended december 31 2018 .
our net loss was $ 15 .
6 million or $ 0 .
96 loss per diluted share for the year ended december 31 2019 versus a net loss of $ 24 .
1 million or $ 1 .
50 loss per diluted share for the year ended december 31 2018 .
our year-over-year unfavorable performance was primarily driven by lower restaurant / retail hardware revenue and corresponding hardware support service revenue from our traditional tier 1 customers as one of these customers completed significant projects in 2018 which were not repeated in 2019 .
the company partially offset these reductions with continued growth in brink pos revenue including related saas hardware and support services .
the 2018 net loss include a valuation allowance of $ 14 .
9 million to reduce the carrying value of our deferred tax assets .
operating segment revenue is set forth below : .
* brink includes $ 0 .
3 million of restaurant magic for 2019 .
product revenues were $ 66 .
3 million for the year ended december 31 2019 a decrease of 15 .
8 % from $ 78 .
8 million recorded in 2018 .
this decrease was primarily driven by lower revenues from our tier 1 customers and by a decrease in our international business .
our hardware sales in the restaurant / retail reporting segment were down versus prior year as we completed hardware project installations with a large domestic customer during the first half of 2018 which was not recurring in 2019 .
additionally international sales were down in 2019 and surecheck was divested .
surecheck product revenue was $ 0 .
7 million in 2019 versus $ 2 .
0 million in 2018 .
service revenues were $ 57 .
0 million for the year ended december 31 2019 an increase of 3 .
1 % from $ 55 .
3 million reported for the year ended december 31 2018 primarily due to an increase in brink including a $ 3 .
9 million increase in brink pos saas revenue more than offsetting a reduction in services to our traditional tier 1 customers and surecheck services .
surecheck service revenue was $ 2 .
7 million in 2019 versus $ 4 .
0 million in 2018 .
contract revenues were $ 63 .
9 million for the year ended december 31 2019 compared to $ 67 .
2 million reported for the year ended december 31 2018 a decrease of 4 .
8 % .
this decrease was driven by a 4 % decrease in our mission systems revenue due to reduction of revenue on cost-based contracts and a 4 % reduction in isr revenues due to ceiling limitations in a large customer ' s funding .
product margins for the year ended december 31 2019 were 22 .
9 % in line with the 23 .
0 % for the year ended december 31 2018 .
service margins were 30 .
9 % for the year ended december 31 2019 an increase from 23 .
8 % recorded for the year ended december 312018 .
servicemarginsincreasedprimarilyduetobrinkpossaasandtheincreaseinprofitabilityinourfieldservicebusiness .
during 2018 and 2019 impairment charges were recorded for surecheck capitalized software of $ 1 .
6 million and $ 0 .
7 million respectively .
contract margins were 8 .
9 % for the year ended december 31 2019 compared to 10 .
7 % for the year ended december 31 2018 .
the decrease in margin was primarily driven by decrease activity in mission systems ' better performing cost-based contracts .
selling general and administrative expenses were $ 37 .
0 million for the year ending december 31 2019 compared to $ 35 .
0 million for the year ended december 31 2018 .
the increase is due to additional investments in brink pos sales and marketing and increased equity and incentive compensation partially offset by savings in other departments .
sg & a expenses associated with the internal investigation for 2019 were $ 0 .
6 million as compared to $ 1 .
1m in 2018 .
research and development expenses were $ 13 .
4 million for the year ended december 31 2019 compared to $ 12 .
4 million recorded for the year ended december 31 2018 .
this increase was primarily related to a $ 2 .
1 million increase in software development investments for brink offset by decreases in other product lines .
during the year ended december 31 2019 we recorded $ 1 .
2 million of amortization expense associated with acquired identifiable intangible assets in connection with our acquisition of brink software inc .
in september 2014 -the " brink acquisition " compared to $ 1 .
0 million for the year ended december 31 2018 .
additionally in 2019 we recorded $ 0 .
2 million of amortization expense associated with acquired identifiable intangible assets in the drive-thru acquisition and $ 0 .
1 million of amortization expense associated with acquired identifiable intangible assets in the restaurant magic acquisition .
other -expense income net was - $ 1 .
5 million for the year ended december 31 2019 as compared to other income net of $ 0 .
3 million for the year ended december 31 2018 .
other income / expense primarily includes fair value adjustments on contingent considerations rental income net of applicable expenses foreign currency transactions gains and losses fair value fluctuations of our deferred compensation plan and other non-operating income / expense .
in 2018 a $ 0 .
5 million gain was recorded for the sale of real estate .
in 2019 there was a $ 0 .
2 million expense for the termination of the brink acquisition earn-out agreement compared to a $ 0 .
5 million benefit as a result of a reduction of contingent consideration related to the brink acquisition in 2018 .
interest expense net was $ 4 .
6 million for the year ended december 31 2019 as compared to interest expense net of $ 0 .
4 million for the year ended december 31 2018 .
the increase reflects $ 2 .
6 million of interest expense related to the sale of the 4 .
50 % convertible senior notes due 2024 issued on april 15 2019 -the " 2024 notes " as well as $ 2 .
0 million of accretion of 2024 notes debt discount for 2019 .
for the year ended december 31 2019 our effective income tax rate was 18 .
9 % which was mainly due to deferred tax adjustments related to foreign tax credit carryforwards and state taxes offset by changes in the valuation allowance and excess tax benefits resulting from the exercise of non-qualified stock options .
for the year ended december 31 2018 our effective income tax rate was -141 .
7 % due to recording a full valuation allowance on the entire deferred tax assets .

Question: What was the revenue in 2019 and 2018 respectively?
Answer: $187.2 million $201.2 million