Not quite working yet, but close enough.