add a workreport function