minore changes to snap for debugging