modify accept interface