replaceing boolean flag with curr-computer flag for conditional execution.