description of function used integrated in the script