final code 2