adding xpc handler code