added transition to snap