Using new Program class