figuring out template issue