Changed function name from bug to snake.