Create Core Functionality for Program1 in TME2