first implementation of projection mapping, with relative tests.