map and header styling and logic