erlang functions that frequently used