added the partially done code for the structures