added codemap structure