finshed reporting backend stuff for Bill