Fix elements function.
Simpler example.