use project() instead of sample() for producing goals