add code snipets.