some map dat structure ideas & routines