source code for SPA presentation