Added description and function documentation