added simplified example