after scanning down the code i get that "s_map" means "symbol_map" and "m_map" is "mime_map", but I think it'd be better to use clear variable names.