Help in understanding code of salary register report