Worked out kinks, v1.