Working on the erlang files