adding data structures to use with offline very..