map definition is more readable