added Stop functionality