Changed the name of "func" in Program class to "function