changed Display to use a Map instead of an Array