more examples
got templated functions working