initialized prog4