Added an example showing storing values in variables before adding them. Also added syntax highlighting to original code snippet.