pruning dead code
fixes #18