wow formatdoc very similar. fixed single blank lines. and also indented code now.