further progress ... viewport still not working