made all struct fields exported so they get serialized properly by gob