setting up a structure based on some reading