Changed report function to use a base report