added class + simple example