updated simpler example