Changed result function
Changed result function