got the synchronous page mostly working