Added stop() method