changed to oneElement local variable