added snipets for erlang