added nexttick methode