Cancellation,parameter parsing added