sorry, I was using setInterval deleteQuestion(), 1000, totally works as setInterval deleteQuestion, 1000