make accessible for both basic and advance template