added quad template