cleanup

Indent and brace and private added
If you like please commit it