change create method to be called gE (generateElement)