added trade accept function