added coremap data structure