Virtual training can be just as effective: study