map and various bits