resources pictures now initialized in global