methods and examples