attempting to use template