Probably should do this onOpen rather than in initialise?