snake is now working