added examples from class, not my own work