copied newEl so plot templates can call it