implements the base mapping.