add snake methode