my way of learning erlang