improved erlang mode.