added factory for take multiple maps