added map to load elements method header