Updated snippet

Added explanation comment and display at the beginning.