fixing new lines
fixing new lines
fixing new lines
Improved indentation and docs, chnaged procedure
Readability