added edge case when there was only one node
reindent
0.1.3