added te final result corrected