Perfect snake