add method pause and get