it is strange that here we need to reference navigator through window