main source template