Added Documentation to the functions!