initializing correct map object