made random walk interruptible