Change program structure