modularization of activemaps