switched outlet component template to virtual elements