Updated the Program class