Updated to use template