half-baked, but at least it's on github now