updated version of snake