added stack
Merge branch 'stack'
added canceling requests