write* functions now noexcept
Fixed indentations