More Indentation for better readability
Improved Documentation on both functions