log out the result

logged out the result correctly