God knows what .map() is doing but it's wrong