Playing with erlang