final competition code