finalized structure for program