Add interface then implement to create map object