add some erlang snippet