draft of how SPAs work