fixed SPA sample