renamed 'hash' field to 'data'