added close request details function