R&B singer Robin Thicke surprised students from East Quogue Elementary School Wednesday with a private concert and a new $10,000 Yamaha piano for their music program from the VH1 Save the Music Foundation.

The students thought they were heading to Viacom headquarters in Manhattan for a music-related field trip, but got much more, as Thicke, best known for his chart-topping hit "Blurred Lines," performed a set that included "Magic" and "Dreamworld" for them, and also answered their questions.

advertisement | advertise on newsday

"I can't imagine what my life would've looked like without music," said Thicke, who was also in town to perform at Wednesday night's Legacy of Hope Concert at Barclays Center. "So it's important for me to pay it forward by supporting ways to keep music in schools."

The school received the piano after applying for a grant and informing the foundation about its music program and explaining how its piano had broken.

"We are so proud to have Robin Thicke as an ambassador," Paul Cothran, vice president and executive director of the VH1 Save the Music Foundation, said in a statement. "His generosity and continued support of VH1 Save the Music make him not only a great musician, but an outstanding role model and advocate for music education."

Thicke, who recently released the singles "Back Together" featuring Nicki Minaj and "Morning Sun," also announced on Wednesday that he has launched a special meet-and-greet for a CharityBuzz auction, with proceeds going to the foundation, where he has served as an ambassador since 2013.