use indexing syntax for maps