Added erlang mode