gustafn
committed
on 19 Jul 18
simplify code