Added triple template for easier usage