consume the data