Adding Timer and abandon functionality