Updated Program Code