introduce erlang mode