Can you please also rename `$elementname` to `$elementName` while you're at it.