finished! implement some mapping.