move map object out of initialize