provide some simple utilities for erlang programming