rework of getprog in progress. prepairing version two!