add example and methods for configuring