guards against bad inputs; renamed to greendot, which disguises other changes
part of the last commit, just forgot to add these