Fix naming displayElements() method