rename confusing id
rewrite of snake.js