complete rest prog of section 1-2