initial version of leave summary implemented.