First sample using classes