How would someone create a function, that selects a map?