[erl] problem 3