Added result logging