updated for use with gdsn@0.0.9 revised