New prototype that employs the reflect package for easy struct-based operations