Modified onreceiveAccept