changed #trends_map and all references to 'main'