almost working snake