Remove redundant do
Remove redundant bracket
Remove redundant bracket
Remove redundant bracket
Use pointfree style