finished data getting code