Created Template for functions library