ok, kinda working as a single page app now