initialized erlang code