structs work now. added attributes.