Reporting based on references

See here