add erlang mode the right way...