Updated location of result and added more print output