Draft version of report generating module