simple example  with comments