erlang enhanced