template not playing nicely with primitives...