dci example with erlang