switched back to pageinit to see if it does what I want after all