better example, better comments, just better