renamed a method in Controller to createNewElement