The CS is very very WIP at the moment, but that's the basic idea.