simpler handler in example