adding bg struct model