making map dynamic