Formatting, added documentation