Revising data structure