added some new struct code