A 33-year-old electrical engineer from Santa Clarita, California has revealed how his $150 annual Six Flags Magic Mountain pass helped him pay off his student loans.

In an interview with Mel Magazine, the 33-year-old who goes by Dylan said that he took full advantage of the pass, which entitled him to multiple meals per day all year round. “You can pay around $150 for unlimited, year-round access to Six Flags, which includes parking and two meals a day,” he explained. “If you time it right, you could eat both lunch and dinner there every day.”

He utilized the pass in order to pay off the student loan debt he had accumulated, get married, and buy a home in Los Angeles. As part of the annual pass, the theme park offers guests the opportunity to get lunch and dinner items alongside unlimited drinks on any day the park is open. He said he was inspired to go through with the idea when he was working an internship back in 2014, with a Six Flags just a five-minute drive away from the office that he was working in.

“That entire first year, I don’t think I ever went to the grocery store,” he added. “I timed it so I was able to go there during my lunch break, go back to work, then stop back for dinner on my way home. ... It was crazy—I was saving money, paying off student loans. One of my coworkers said she spent $1,500 a month on eating out, I was like, ‘Yeah, I’m not going down that road!’”

For the most part, the food items at Six Flags aren’t exactly healthy, so he’s cut down on his intake these days. After seven years of saving with his Six Flags trips, he said he’s since bought a house in the nearby area. “I’m not really going anywhere,” he said. “As long as they keep changing the menu, I’m happy.”