reformatting/refactoring + example.com added