Added stop and pause methods