Used * instead of a loop for indentation
Added doc