Half-baked and sort of working. A little refinement and I'll be there