simple example defining a class