Mapping is done

Closes #4.