added map initializing