Snap helper functions