Added 3d projection instead of 2d projection