rewrite sospa process