Added cancel method