erlang samples