Erlang sample add