Added documentation and formatting