Separate prototype for snake