Passed the program to expressions in evaluate and toString