Tagged 3d-programming