Cleaned up Snarling codes