Commit getting_data code