removed old code for static maps