examples from real code