fixing indentation
docblocks and fixes for validation