implement GH#4

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>