small refactor for simplification
[cedit] / LICENSE
2016-08-12 Ian Kellinggood working version