XML 48 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
EARNINGS PER SHARE (Tables)
12 Months Ended
Dec. 31, 2017
Earnings Per Share [Abstract]  
Basic and diluted earnings per share
The following table provides the computation of basic and diluted earnings per share.
 
Year Ended December 31,
(in thousands, except per share data)
2017
 
2016
 
2015
Numerator:
 
 
 
 
 
Net (loss) income available to common shareholders
$
(5,062
)
 
$
(3,950
)
 
$
8,364

Effect of dilutive securities:
 
 
 
 
 
Derivative liability - warrants
(183
)
 
(64
)
 
(1,799
)
Accretion on convertible preferred stock

 

 
222

Numerator for dilutive (loss) income per common share
(5,245
)
 
(4,014
)
 
6,787

 
 
 
 
 
 
Denominator:
 
 
 
 
 
Weighted average shares used to compute basic (loss) income
per common share
31,420

 
27,433

 
24,333

Effect of dilutive securities:
 
 
 
 
 
Derivative liability - warrants
7

 
16

 
28

Convertible preferred stock

 

 
3,137

Stock options

 

 
249

Denominator for dilutive (loss) income per common share
31,427

 
27,449

 
27,747

 
 
 
 
 
 
Basic (loss) income per common share
$
(0.16
)
 
$
(0.14
)
 
$
0.34

Diluted (loss) income per common share
$
(0.17
)
 
$
(0.15
)
 
$
0.24