An example written in class