added map to main controller