adding erlang snippets