added checking for len = 1
Merge branch 'master' of https://github.com/rgrannell1/polonium