The study , published in the journal Sleep , showed that , across three very different declarative memory tasks , a nap benefited performance compared to comparable periods of wakefulness , however , only for those subjects that strongly acquired the tasks during the training session .