Added documentation inline for code