type changed to single page app