added egl templates