I like that you are using js native functions like `map` to accomplish this functionality.