add timer to move snake