working on making function templates better (support mix of strings and doubles)