Some Erlang practices