examples and testing