basic working snake