final program and fingures