in class examples