add 'var' snippet