try it in erlang