adding common function modules