- rearranged private method
- renamed test folder to examples since that's what it is