implement constant mapping type