add method for unix domain socket