Ex4 program