Ported reports module, needs further testing