Final Snappy code