Twenty healthy participants underwent two series of functional magnetic resonance imaging while performing monetary incentive delay task in which they were cued to anticipate and respond to a rapidly presented target to gain or avoid losing varying amounts of money , under modafinil or placebo condition .