(CNN) Students at UC Davis can now press A4 for Plan B.

A new vending machine in a University of California Davis study room traded the usual Hot Cheetos and Red Bull for condoms, tampons, pregnancy tests, Advil, and the morning after pill (or Plan B). They call it the "Wellness To Go" Machine.

Stocking contraception rather than caffeine may seem out of place in a study area, but to former UC Davis student Parteek Singh it makes total sense.

Although the Wellness To Go machine was installed in early April, Singh spent two years working to make it happen.

"The more skeptical and negativity I got from people like 'oh it's not going to happen,' kind of pushed me more," Singh told CNN affiliate KTXL

Read More