first try not really working, i dont understand why the pause method isnt behaving as expected